package com.fzn3.day04;

import org.junit.Test;
import org.junit.jupiter.api.Assertions;

import static com.fzn3.day04.InsertionSort.sort;

/**
 * @author fzn
 * 描述：
 * @program DataStructure
 * @create 2023/3/10 8:56
 **/
public class TestInsertionSort {
    @Test
    public void test1() {
        int[] expected = {1, 2, 3, 4, 5};
        int[] a1 = {5, 4, 3, 2, 1};
        sort(a1);
        Assertions.assertArrayEquals(expected, a1);
    }

}
